package com.gxa.service.mapper;

import com.gxa.service.entity.Specification;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.service.vo.SpecificationAreaVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * @Entity com.gxa.service.entity.Specification
 */
@Repository
public interface SpecificationMapper extends BaseMapper<Specification> {

    Integer findSpecificationId(@Param("name") String specificationName,@Param("setId") Integer setServiceId);


    List<Specification> findSpecificationById(Integer id);

    List<SpecificationAreaVo> findSpecificationBySetId(Integer serviceNameId);

    int addSpecification(@Param("name")String name,@Param("id")Integer id);
}




